<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:84:"D:\xampp\htdocs\thinkphp5_home\public/../application/admin\view\config\siteinfo.html";i:1478063232;s:79:"D:\xampp\htdocs\thinkphp5_home\public/../application/admin\view\public\top.html";i:1475995843;s:80:"D:\xampp\htdocs\thinkphp5_home\public/../application/admin\view\public\left.html";i:1478063778;}*/ ?>
<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/admin/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/admin/css/main.css"/>
    <script type="text/javascript" src="__PUBLIC__/static/admin/js/libs/modernizr.min.js"></script>
</head>
<body>
<!--页面顶部导航模块-->
<div class="topbar-wrap white">
    <div class="topbar-inner clearfix">
        <div class="topbar-logo-wrap clearfix">
            <h1 class="topbar-logo none"><a href="index.html" class="navbar-brand">后台管理</a></h1>
            <ul class="navbar-list clearfix">
                <li><a href="<?php echo url('../index/Index/index'); ?>">首页</a></li>
                <li><a href="<?php echo url('Index/index'); ?>" target="_blank" class="on" >后台</a></li>
            </ul>
        </div>
        <div class="top-info-wrap">
            <ul class="top-info-list clearfix">
            
                <li><a href="#">
                <?php 
                switch (session('user_type'))
                {
                case 0:
                  $username = '普通用户';
                  break;
                case 1:
                  $username = '系统管理员';
                  break;
                default:
                  $username = '未知身份';
                }
                  echo (session('user_name')." | ".$username);?>
                </a></li>
                <li><a href="<?php echo url('User/edit',array('id'=>session('user_id'))); ?>">修改密码</a></li>
                <li><a href="<?php echo url('Login/logout'); ?>">退出</a></li>
            </ul>
        </div>
    </div>
</div>

<div class="container clearfix">

  <!--页面左侧导航模块-->
  <div class="sidebar-wrap">
	<div class="sidebar-title">
		<h1>菜单</h1>
	</div>
	<div class="sidebar-content">
		<ul class="sidebar-list">
			<li>
				<a href="#"><i class="icon-font">&#xe003;</i>常用操作</a>
				<ul class="sub-menu">
					<li><a href="<?php echo url('Category/index'); ?>"><i class="icon-font">&#xe008;</i>栏目管理</a></li>
					<li><a href="<?php echo url('Article/index'); ?>"><i class="icon-font">&#xe005;</i>文章管理</a></li>
					<li><a href="<?php echo url('Page/index'); ?>"><i class="icon-font">&#xe012;</i>页面管理</a></li>
					<li><a href="<?php echo url('Link/index'); ?>"><i class="icon-font">&#xe052;</i>友情链接</a></li>
					<li><a href="design.html"><i class="icon-font">&#xe004;</i>留言管理</a></li>
					<li><a href="design.html"><i class="icon-font">&#xe033;</i>广告管理</a></li>
					<li><a href="<?php echo url('User/index'); ?>"><i class="icon-font">&#xe014;</i>用户管理</a></li>
				</ul>
			</li>
			<li>
				<a href="#"><i class="icon-font">&#xe018;</i>系统管理</a>
				<ul class="sub-menu">
					<li><a href="<?php echo url('Config/siteinfo'); ?>"><i class="icon-font">&#xe044;</i>网站信息</a></li>
					<!--li><a href="<?php echo url('Config/clist'); ?>"><i class="icon-font">&#xe017;</i>系统配置</a></li>
					<li><a href="<?php echo url('Config/index'); ?>"><i class="icon-font">&#xe003;</i>配置管理</a></li-->
					<li><a href="system.html"><i class="icon-font">&#xe037;</i>清理缓存</a></li>
					<li><a href="system.html"><i class="icon-font">&#xe016;</i>数据备份</a></li>
					<li><a href="system.html"><i class="icon-font">&#xe045;</i>数据还原</a></li>
				</ul>
			</li>
		</ul>
	</div>
</div>
    <!--/sidebar-->
    <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="<?php echo url('Index/index'); ?>">后台</a><span class="crumb-step">&gt;</span><span class="crumb-name">网站信息</span></div>
        </div>
        <div class="result-wrap">
            <form action="saveSiteInfo" method="post" id="infoform" name="myform">
                <div class="config-items">
                    <div class="config-title">
                        <h1><i class="icon-font">&#xe00a;</i>网站信息</h1>
                    </div>
                    <div class="result-content">
                        <table width="100%" class="insert-tab">
                            <tbody>
                                <tr>
                                    <th width="15%"><i class="require-red">*</i>域名：</th>
                                    <td><input type="text" value="<?php echo $SITEINFO['domain']; ?>" size="85" name="domain" class="common-text"></td>
                                </tr>
                                <tr>
                                    <th><i class="require-red">*</i>站点名称:</th>
                                    <td><input type="text" value="<?php echo $SITEINFO['name']; ?>" size="85" name="name" class="common-text"></td>
                                </tr>
                                <tr>
                                    <th><i class="require-red">*</i>关键字：</th>
                                    <td><input type="text" value="<?php echo $SITEINFO['keywords']; ?>" size="85" name="keywords" class="common-text"></td>
                                </tr>
                                <tr>
                                    <th><i class="require-red">*</i>描述：</th>
                                    <td><input type="text" value="<?php echo $SITEINFO['description']; ?>" size="85" name="description" class="common-text"></td>
                                </tr>
                                <tr>
                                    <th></th>
                                    <td>
                                        <input type="submit" value="提交" class="btn btn-primary btn6 mr10" />
                                        <input type="reset"  value="取消" class="btn btn6" value="Reset" onclick="document.getElementById('infoform').reset();" />
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </form>
            <form action="saveSiteInfo" method="post" id="contactform" name="myform">
                <div class="config-items">
                    <div class="config-title">
                        <h1><i class="icon-font">&#xe014;</i>站长信息</h1>
                    </div>
                    <div class="result-content">
                        <table width="100%" class="insert-tab">
                            <tr>
                                <th width="15%"><i class="require-red">*</i>联系邮箱：</th>
                                <td><input type="text"  value="<?php echo $CONTACTINFO['email']; ?>" size="85" name="email" class="common-text"></td>
                            </tr>
                                <tr>
                                    <th><i class="require-red">*</i>联系人：</th>
                                    <td><input type="text" value="<?php echo $CONTACTINFO['contact']; ?>" size="85" name="contact" class="common-text"></td>
                                </tr>
                                <tr>
                                    <th><i class="require-red">*</i>联系电话：</th>
                                    <td><input type="text" value="<?php echo $CONTACTINFO['phone']; ?>" size="85" name="phone" class="common-text"></td>
                                </tr>
                                <tr>
                                    <th><i class="require-red">*</i>备案ICP：</th>
                                    <td><input type="text" value="<?php echo $CONTACTINFO['icp']; ?>" size="85" name="icp" class="common-text"></td>
                                </tr>
                                <tr>
                                    <th><i class="require-red">*</i>地址：</th>
                                    <td><input type="text" value="<?php echo $CONTACTINFO['address']; ?>" size="85" name="address" class="common-text"></td>
                                </tr>
                                <tr>
                                    <th></th>
                                    <td>
                                        <!--input type="hidden" value="" name="file"-->
                                        <input type="submit" value="提交" class="btn btn-primary btn6 mr10" />
                                        <input type="reset"  value="取消" class="btn btn6" value="Reset" onclick="document.getElementById('contactform').reset();" />
                                    </td>
                                </tr>
                        </table>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>